#pragma once

class TerrainDirector;

namespace he
{
	//! Panel for holding the main controls.
	class ControlPanel : public wxPanel
	{
		// Attributes
	private:
		//! Terrain director.
		TerrainDirector &m_TerrainDirector;

		// Operations
	public:
		//! Get terrain director.
//		TerrainDirector *get_terrain_director();

	private:
		//! On terrain tile size.
		void on_terrain_tile_size(wxCommandEvent &Event);
		
		// Construction
	public:
		ControlPanel(wxWindow *pParent, TerrainDirector &pirector);

		// Events
	private:
		DECLARE_EVENT_TABLE()
	};

//	inline TerrainDirector *ControlPanel::get_terrain_director()
//	{
//		return &m_TerrainDirector;
//	}
}